package com.yssoft.mapper.production;

import com.yssoft.entity.production.TTechnologyGather;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;
import java.util.Map;

public interface TTechnologyGatherMapper extends Mapper<TTechnologyGather> {
    /**
     * @方法名: selectByTechnicIndex
     * @创建人: 陈翼东
     * @时间: 2018/5/10 下午 07:11
     * @参数: [id]
     * @返回值: java.util.List<com.yssoft.entity.production.TTechnologyGather>
     * @说明: 根据工艺指标查询指标值
     */
    List<TTechnologyGather> selectByTechnicIndex(Map<String, Object> param);

    /**
     * 按工艺采集ID和工单ID获取工艺采集信息
     *
     * @param id
     * @param workId
     * @return
     */
    TTechnologyGather queryTechnologyGatherInfo(@Param("id") Integer id, @Param("workId") Integer workId);
}